export default {
  title: '基础图形',
  data: [
    {
      name: 'text',
      value: 'Text',
      label: '文本',
      width: 40,
      height: 20,
      style:
        'text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;'
    },
    {
      name: 'rect',
      value: '',
      width: 200,
      height: 60,
      label: '长方形',
      style: 'rounded=0;whiteSpace=wrap;html=1'
    },
    {
      name: 'circle',
      value: '',
      width: 80,
      height: 80,
      label: '圆形',
      style: 'ellipse;whiteSpace=wrap;html=1;aspect=fixed;'
    },
    {
      name: 'triangle',
      value: '',
      width: 60,
      height: 80,
      label: '三角形',
      style: 'triangle;whiteSpace=wrap;html=1;'
    },
    {
      name: 'square',
      value: '',
      width: 80,
      height: 80,
      label: '正方形',
      style: 'whiteSpace=wrap;html=1;aspect=fixed;'
    },
    {
      name: 'rhombus',
      value: '',
      label: '菱形',
      width: 80,
      height: 80,
      style: 'rhombus;whiteSpace=wrap;html=1;'
    },
    {
      name: 'parallelogram',
      value: '',
      label: '平行四边形',
      width: 120,
      height: 60,
      style:
        'shape=parallelogram;perimeter=parallelogramPerimeter;whiteSpace=wrap;html=1;fixedSize=1'
    },
    {
      name: 'dashed',
      value: '',
      label: '虚线',
      isEdge: true,
      width: 50,
      height: 50,
      style: 'endArrow=none;dashed=1;html=1'
    },
    {
      name: 'line',
      value: '',
      label: '直线',
      isEdge: true,
      width: 50,
      height: 50,
      style: 'endArrow=none;html=1'
    },
    {
      name: 'arrow',
      value: '',
      label: '箭头',
      isEdge: true,
      width: 50,
      height: 50,
      style: 'endArrow=classic;html=1;'
    },
    {
      name: 'arrow2',
      value: '',
      label: '双向箭头',
      isEdge: true,
      width: 50,
      height: 50,
      style: 'endArrow=classic;startArrow=classic;html=1'
    }
  ]
}
